import 'package:flutter/material.dart';
import 'package:pkg_banner_view/pkg_banner_view.dart';
import 'package:pkg_obz/export.dart';

/// Create： Zhang 2021/8/19
/// ERP:     ext.zhangjunfei
class BannerViewPage extends PageStateful<PageModel> {
  BannerViewPage()
      : super(
          title: "轮播图",
          tag: "BannerViewPage",
          pageModel: PageModel(),
        );

  @override
  Widget? content(BuildContext context) {
    return BannerView(imagePaths: [
      "http://img10.360buyimg.com/jdfarm/jfs/t1/189242/4/670/2033911/608b69feE33b9ac2b/e980cf55b698141d.png",
      "http://img10.360buyimg.com/jdfarm/jfs/t1/139762/20/3674/894159/5f18f7ceEf177f220/3cab32dce1cd4b54.jpg",
      "http://img10.360buyimg.com/jdfarm/jfs/t1/122113/12/12175/2085210/5f5ad74bE163c7bfc/ac5a6f8ce2864748.jpg",
    ]);
  }
}
